//
//  InteractionMenu.h
//  IntelligenceCommunity
//
//  Created by zhangpei on 16/1/5.
//  Copyright © 2016年 zhangpei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "InteractionButton.h"

typedef enum
{
    InteractionMenuClickTypeOfPraise,
    InteractionMenuClickTypeOfCancelPraise,
    InteractionMenuClickTypeOfStep,
    InteractionMenuClickTypeOfCancelStep,
    InteractionMenuClickTypeOfComment,
    InteractionMenuClickTypeOfHelp,

    InteractionMenuClickTypeOfBidding,
    InteractionMenuClickTypeOfPayment,
    InteractionMenuClickTypeOfMail,
    InteractionMenuClickTypeOfReceiving,
    
}InteractionMenuClickType;


typedef enum
{
    InteractionMenuTypeOfPraiseStepComment,
    InteractionMenuTypeOfPraiseComment,
    InteractionMenuTypeOfHelp,
    InteractionMenuTypeOfBiddingComment,
    InteractionMenuTypeOfComment,
}InteractionMenuType;

typedef enum
{
    InteractionMenuAlreadyClickTypeOfPraise,
    InteractionMenuAlreadyClickTypeOfStep,
}InteractionMenuAlreadyClickType;

typedef enum
{
    InteractionMenuBiddingTypeOfBidding,
    InteractionMenuBiddingTypeOfPayment,
    InteractionMenuBiddingTypeOfMail,
    InteractionMenuBiddingTypeOfReceiving,
}InteractionMenuBiddingType;


typedef void (^ InteractionMenuBlock) (InteractionMenuClickType type);

@interface InteractionMenu : UIView

@property (nonatomic, copy) InteractionMenuBlock interactionMenuBlock;

+ (id)sharedInteractionMenuWithPosition:(CGPoint)point withInteractionMenuType:(InteractionMenuType)type withInteractionMenuAlreadyClickType:(InteractionMenuAlreadyClickType)alreadyClickType withDropListViewBlock:(InteractionMenuBlock)block;

+ (id)sharedInteractionMenuWithPosition:(CGPoint)point withInteractionMenuType:(InteractionMenuType)type withInteractionMenuBiddingType:(InteractionMenuBiddingType)biddingType withDropListViewBlock:(InteractionMenuBlock)block;

@end
